-
-
Notifications
You must be signed in to change notification settings - Fork 364
chore(Action): add label check and auto close action #5688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Reviewer's Guide by SourceryThis pull request introduces two new GitHub Actions workflows to automate the process of checking for inactivity and closing issues that require a response but have not received one within a specified timeframe. The first workflow checks for issues labeled as 'inactive' and 'invalid', closing them after 3 days of inactivity. The second workflow closes issues labeled as 'need-repro-project' after 2 days of inactivity. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ArgoZhang - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider using a single workflow with different configurations to avoid code duplication.
- It might be helpful to add a comment to the issue before closing it, explaining why it's being closed and how to reopen it if needed.
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5688 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 654 654
Lines 29689 29689
Branches 4213 4213
=========================================
Hits 29689 29689 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Link issues
fixes #5687
Summary By Copilot
This pull request introduces two new GitHub Actions workflows to manage inactive issues. These workflows automate the process of checking for inactivity and closing issues that require a response but have not received one within a specified timeframe.
New workflows added:
.github/workflows/issue-check-inactive.yml: This workflow runs every 15 days and checks for issues labeled as 'inactive'. If an issue is labeled as 'invalid' and has not received a response in 3 days, it will be closed..github/workflows/issue-close-required.yml: This workflow runs daily at 10 AM and checks for issues labeled as 'need-repro-project'. If an issue has not received a response in 2 days, it will be closed.Regression?
Risk
Verification
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Adds two new GitHub Actions workflows to automatically manage and close inactive issues based on specific labels and timeframes.
CI: